package com.example.dzbsh.dao;

import com.example.dzbsh.model.ZhenbieQingkuang;
import com.example.dzbsh.model.ZhenbieQingkuangExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ZhenbieQingkuangMapper {

    Object countByShifouGuifan(@Param("shifouguifan")String ppShifouguifan);

    // 查询甄别id集合
    List<String> selectZhenbieIdList();

    Object countByJiashuId(@Param("jiashuid")String ppJiashuId);

    Object getCountByzhuangtaiAndRenyuanId(@Param("renyuanid") String mmRenyuanId);

    Object getCountByzhuangtaiAndRenyuanIdByGuifan(@Param("renyuanid") String mmRenyuanId);

    List<Map<String,Object>> findByJiashuId(@Param("jiashuid")String ppJiashuId);

    List<Map<String, Object>> findByJiashuIdByGuifan(String jiashuid);

    List<String> findAllRenyuanid(@Param("deptid")String ppDeptId, @Param("truename")String ppTrueName,@Param("startindex")int ppPageIndex, @Param("pagesize")int ppPageSize);

    Object countAllRenyuanid(@Param("deptid")String ppDeptId, @Param("truename")String ppTrueName);

    List<String> findJiashuByRenyuanIdAndGuanxi(@Param("renyuanid") String ppRenyuanId,@Param("guanxi") String ppGuanxi);

    int countByExample(ZhenbieQingkuangExample example);

    int deleteByExample(ZhenbieQingkuangExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZhenbieQingkuang record);

    int insertSelective(ZhenbieQingkuang record);

    List<ZhenbieQingkuang> selectByExample(ZhenbieQingkuangExample example);

    ZhenbieQingkuang selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZhenbieQingkuang record, @Param("example") ZhenbieQingkuangExample example);

    int updateByExample(@Param("record") ZhenbieQingkuang record, @Param("example") ZhenbieQingkuangExample example);

    int updateByPrimaryKeySelective(ZhenbieQingkuang record);

    int updateByPrimaryKey(ZhenbieQingkuang record);
}